<?php echo $this->render('header.phtml'); ?>
<div class="bar">
<?php echo $this->menu ?>
</div>
<div class="search_field">
	<form method="post" action="<?php echo $this->baseUrl ?>/os/buscar">
		<p><input type="text" name="search" class="search" /> <input type="submit" value="Buscar" class="searchSubmit" /></p>
	</form>
</div>
<h1><?php echo $this->escape($this->title); ?></h1>
<?php if ($this->users) {?>
<form action="<?php echo $this->baseUrl ?>/user/excluir" method="post">
<p>Tem certeza de que deseja excluir o usuario 
'<?php echo $this->escape($this->users->usuario); ?>' com nome
'<?php echo $this->escape($this->users->nome); ?>'?
</p>
<div>
<input type="hidden" name="id" value="<?php echo $this->users->id; ?>" />
<input type="submit" name="del" value="Sim" />
<input type="submit" name="del" value="Nao" />
</div>
</form>
<?php }else{ ?>
<p>Usuário não encontrado!</p>
<?php } ?>
<?php echo $this->render('footer.phtml'); ?>